<?php

namespace ProductType\View\Helper;

use Zend\View\Helper\AbstractHelper;
use ProductType\Model\User;

class Users extends AbstractHelper {
	// use \Zend\ServiceManager\ServiceLocatorAwareTrait;
	protected $data;
	function __invoke() {
		return $this->data;
	}
	public function setTableUser($sm, $table,$email) {
		$this->data = $sm->get ( $table )->user(null,$email);
		return $this->data;
	}
}